﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using System.Data.OleDb;
using DTO;
using DAO;

namespace BUS
{
     public class ToCongDoanBUS
     {
        public static List<ToCongDoanDTO> LayDanhSach()
        {
            return ToCongDoanDAO.LayDanhSach();
        }

         public static int Them(ToCongDoanDTO toCongDoanDto)
         {
             return ToCongDoanDAO.Them(toCongDoanDto);
         }

         public static int Xoa(string tenToCongDoan)
         {
             return ToCongDoanDAO.Xoa(tenToCongDoan);
         }

         public static int Sua(string tenCu, string tenMoi)
         {
             return ToCongDoanDAO.Sua(tenCu, tenMoi);
         }
     }
}
